/**
 * @format
 * @Author: TC
 * @Date: 2025-04-19 12:48:59
 * @Last Modified by: TC
 * @Last Modified time: 2025-04-22 15:52:17
 */

import { Color } from "cc";
import { EUILayer } from "../../Const/ComponentConst";

/**
 * UI配置
 */
export interface IUIConfig {
    bundleName: string; //包名
    prefabPath: string; //预制路径
    layer?: EUILayer; //层级
    noBlankClose?: boolean; //点击遮罩不关闭
    noMaskTouch?: boolean; //无遮罩触摸监听
    noHasMask?: boolean; //无遮罩
    maskColor?: Color; //遮罩颜色
    closeOther?: boolean; //关闭其他界面
    uiName?: string; //窗口名称
    autoDestroy?: boolean; //关闭时自动销毁
    noOpenAni?: boolean; //不播放打开动画
    noShowLoading?: boolean; //不显示加载
    canOpenMore?: boolean; //允许打开多个
    fullScreen?: boolean; //是否全屏UI
}
